package one.stand.service;

import one.stand.model.BusinessCard;
import one.stand.model.BusinessCardModel;

import java.util.List;

public interface BusinessCardBaseService {

    BusinessCard getCustomer(Integer cardId);

    BusinessCard getByUserId(Integer userId);

    List<BusinessCard> getByCompanyId(Integer companyId);

    BusinessCard get(String personalWx, String phone, Integer companyId, Integer myCardId);

    BusinessCardModel getCustomer(String personalWx, String phone, Integer companyId, Integer myCardId);

    Integer count(Integer companyId);

    Integer countCustomer(Integer companyId);

    Double getRateRank(Integer cardId);

    /**
     * 获取bossId
     */
    Integer getBoosCardId(Integer companyId);
}
